]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
st: Drop vfuncs from StThemeNodeTransition
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 15 Oct 2015 19:41:29 +0000 (21:41 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 15 Oct 2015 19:43:08 +0000 (21:43 +0200)
They are unused, as we don't use them ourselves and the class is not
exposed to introspection. Drop them to allow defining the type as final
in an upcoming commit.

src/st/st-theme-node-transition.c
src/st/st-theme-node-transition.h

index 22a021ffac92ab57704ad3491d508b7cb1e67009..e255f9622f8d09c3d0d90d2c44ba9c3c24b50893 100644 (file)
@@ -461,15 +461,13 @@ st_theme_node_transition_class_init (StThemeNodeTransitionClass *klass)
     g_signal_new ("completed",
                   G_TYPE_FROM_CLASS (klass),
                   G_SIGNAL_RUN_LAST,
-                  G_STRUCT_OFFSET (StThemeNodeTransitionClass, completed),
-                  NULL, NULL, NULL,
+                  0, NULL, NULL, NULL,
                   G_TYPE_NONE, 0);
 
   signals[NEW_FRAME] =
     g_signal_new ("new-frame",
                   G_TYPE_FROM_CLASS (klass),
                   G_SIGNAL_RUN_LAST,
-                  G_STRUCT_OFFSET (StThemeNodeTransitionClass, new_frame),
-                  NULL, NULL, NULL,
+                  0, NULL, NULL, NULL,
                   G_TYPE_NONE, 0);
 }
index e78389e457f678375a768526c2b15e58387b823a..d7f96b7d2a6505f7b6e3e17e6056b6da9c6efb5a 100644 (file)
@@ -47,9 +47,6 @@ struct _StThemeNodeTransition {
 
 struct _StThemeNodeTransitionClass {
   GObjectClass parent_class;
-
-  void (*completed) (StThemeNodeTransition *transition);
-  void (*new_frame) (StThemeNodeTransition *transition);
 };
 
 GType st_theme_node_transition_get_type (void) G_GNUC_CONST;